import Vue from 'vue'
import Router from 'vue-router'
import main from '@/components/main'
import home from '@/components/home'

Vue.use(Router)

export default new Router({
    mode: 'history',
    routes: [
        {
            path: '/',
            name: 'main',
            component: main,
            children: [
                {
                    path: '/',
                    name: 'home',
                    component: home
                }
            ]
        }
    ]
})
